package com.juc.scheduledExecutorService.scheduledExecutorService1;

import java.util.concurrent.Callable;

public class MyCallableA implements Callable<String>{

	@Override
	public String call() throws Exception {
		try {
			System.out.println("CallA begin  " + Thread.currentThread().getName() + "  " + System.currentTimeMillis());
		    Thread.sleep(3000);
			System.out.println("CallA end  " + Thread.currentThread().getName() + "  " + System.currentTimeMillis());

		} catch (Exception e) {
			e.printStackTrace();
		}	
		return "returnA";
	}
 
}
